﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="StudyStarControl.ascx.cs" Inherits="Controls_StudyStarControl" %>
<%@ OutputCache Duration="1200" VaryByParam="none" %>
<%--<div class="palm clearfix">
    <div class="palm_title">&nbsp;</div>
    <div class="palm_L l">
        <div class="month month_04">&nbsp;</div>
        <ul class="palm_best">
            <asp:Repeater ID="rpt_StarFirst" runat="server">
                <ItemTemplate>
                    <li class="<%# Container.ItemIndex + 1==1?"palm_first":Container.ItemIndex + 1==2?"palm_second":"palm_third"%> clearfix">
                        <div class="palm_img l"><img src="<%# GetPersonImage(Eval("HeaderUrl").ToString()) %>" alt="<%#Eval("NickName") %>" /></div>
                        <div class="palm_student l">
                            <span><%#Eval("NickName") %></span><br />
                            <span>积分：<%#Eval("Score") %></span>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="palm_R r">
        <div class="palmR_title clearfix">
            <div class="l">学员</div>
            <div class="r">积分</div>
        </div>
        <ul class="palm_m">
            <asp:Repeater ID="rpt_StarList" runat="server">
                <ItemTemplate>
                    <li class="clearfix">
                        <div class="l">
                            <span class="palm_number"><%# Container.ItemIndex + 1%></span> <a href="#"><%#Eval("NickName") %></a>
                        </div>
                        <div class="r"><%#Eval("Score") %></div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>--%>
<div class="l month_Students">
    <div class="trainee_V1 clearfix">
        <div class="palm_L l" style="padding-top:5px;" >
           <%-- <div class="month month_04" style="width:121px;height:21px">&nbsp;</div>--%>
            <ul class="ucze">
                <asp:Repeater ID="rpt_StarFirst" runat="server">
                <ItemTemplate>
                <li class="ucze_V1 clearfix">
                    <div class="palm_tuV2 l">
                        <%--<img  src= '<%# GetPersonImage(Eval("HeaderUrl").ToString()) %>' alt='<%#Eval("NickName") %>' />--%>
                        <img  src= '<%# GetPersonImage(getHeaderUrl(Eval("memberId").ToString())) %>' alt='<%#Eval("realName") %>' />
                    </div>
                    <div class="ucze_text l">
                        <%--<span style="font-weight:bold;"><%#Eval("NickName") %></span><br /><span>积分：<%#Eval("Score") %></span>--%>
                        <span style="font-weight:bold;"><%#Eval("realName")%></span><br /><span>学分：<%#Eval("credit")%></span>
                    </div>
                </li>
                </ItemTemplate>
                </asp:Repeater>
                <%--<li class="ucze_V1 clearfix">
                    <div class="palm_tuV2 l">
                        <img  alt="" src="../skin/99XB_cs/images/moren.gif" />
                    </div>
                    <div class="ucze_text l">
                        <span style="font-weight:bold;">2.小沈</span><br /><span>积分：610分</span>
                    </div>
                </li>
                <li class="ucze_V1 clearfix">
                    <div class="palm_tuV2 l">
                        <img  alt="" src="../skin/99XB_cs/images/moren.gif" />
                    </div>
                    <div class="ucze_text l">
                        <span style="font-weight:bold;">3.小沈</span><br /><span>积分：610分</span>
                    </div>
                </li>--%>
            </ul>
        </div>
        <div class="palm_R r" style="width: 145px;">
            <div class="palmR_title clearfix">
                <div style="font-weight:bold; color:#000;">学习之星</div>
            </div>
            <ul class="palm_m">
                <asp:Repeater ID="rpt_StarList" runat="server">
                <ItemTemplate>
                <li class="clearfix">
                    <div class="l">
                        <span class="palm_number"><%# Container.ItemIndex + 1%></span>
                        <%--<span><%#Eval("NickName") %></span>--%><%--<a href="#"></a>--%>
                        <span><%#Eval("realName")%></span>
                    </div>
                    <div class="r"><%#Eval("credit")%></div>
                </li>
                </ItemTemplate>
                </asp:Repeater>
                <%--<li class="clearfix">
                    <div class="l">
                        <span class="palm_number">2</span> <a href="#">小沈</a>
                    </div>
                    <div class="r">610</div>
                </li>
                <li class="clearfix">
                    <div class="l">
                        <span class="palm_number">3</span> <a href="#">小沈</a>
                    </div>
                    <div class="r">610</div>
                </li>
                <li class="clearfix">
                    <div class="l">
                        <span class="palm_number">4</span> <a href="#">小沈</a>
                    </div>
                    <div class="r">610</div>
                </li>
                <li class="clearfix">
                    <div class="l">
                        <span class="palm_number">5</span> <a href="#">小沈</a>
                    </div>
                    <div class="r">610</div>
                </li>--%>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function() {
        var now = new Date();
        var month = now.getMonth() + 1;     //月
        jQuery('.month').removeClass('month_04').addClass("month_0" + month + "");
    });
</script>